<template>
	<view class="smart-page">
		<!-- 页面标题头begin-->
		<view class="smart-page-head">
			<view class="smart-page-head-title">image图片</view>
		</view>
		<!-- 页面标题头end-->
		<view>
			<view>本地图片</view>
			<view class="img-box">
				<image src="/static/logo.png" class="img"></image>
			</view>
		</view>
		<view>
			<view>网络图片</view>
			<view class="img-box">
				<image src="https://ts2.tc.mm.bing.net/th/id/OIP-C.Zz8fS9kOec9O_bIsjQ1WQgHaFJ?r=0&cb=ucfimg2ucfimg=1&rs=1&pid=ImgDetMain&o=7&rm=3" class="img"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
	.smart-page-head {
		padding: 20px 0;
		text-align: center;
		margin-bottom: 20px;
	}

	.smart-page-head-title {
		font-size: 24px;
		font-weight: 600;
		color: darkgray;
		display: inline-block;
		position: relative;
		padding-bottom: 8px;
	}

	.smart-page-head-title::after {
		content: '';
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		height: 2px;
		background-color: lightgray;
	}

	.img-box {
		text-align: center;
	}

	.img {
		width: 300upx;
		height: 300upx;
	}
</style>